package dao;

import model.UsrType;

import java.util.List;

public interface UsrTypesManagement {
    Long insertOne(UsrType utyp);

    boolean updateOne(UsrType utyp, UsrType desti);

    int deleteOne(UsrType utype);

    List<UsrType> queryAll(int pageSize, int page);

    UsrType queryByName(String name);

    UsrType queryByID(Long id);
}
